from django.contrib import admin

# Register your models here.

from .models import Wachtag

class WachtagAdmin(admin.ModelAdmin):
    fields = ['dateStopped', 'users'] # fields to show at the edit screen
    list_display = ('dateStarted', 'dateStopped') # fields to show at list overview
    list_filter = ['dateStarted'] # filter to list
    search_fields = ['dateStarted']

admin.site.register(Wachtag, WachtagAdmin)
